import { http } from '@/utils/http'

export function useOaLoginApi() {
  return {
    socialLogin(type: string, code: string, state: string) {
      return http.post(
        '/system/auth/social-login',
        {type, code, state}
      )
    }
  }
}
